projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cacc342
)
Fix warning in nand unlock command
author
Scott Wood
<
[email protected]
>
Wed, 13 Oct 2010 16:04:30 +0000
(11:04 -0500)
committer
Scott Wood
<
[email protected]
>
Mon, 18 Oct 2010 19:54:08 +0000
(14:54 -0500)
Commit
ea533c260a801c4e51f92f75165cebe6d7b01e35
changed
arg_off_size to take a pointer to a device index, rather than
to the device itself. When updating callers, the nand unlock
code was missed.
Signed-off-by: Scott Wood <
[email protected]
>
common/cmd_nand.c
patch
|
blob
|
history
diff --git
a/common/cmd_nand.c
b/common/cmd_nand.c
index 8a812379a6e3295ba5765c0c7dfbf146aa006bc0..634d03684b4365362e31d38c42cb395bfaea9aa7 100644
(file)
--- a/
common/cmd_nand.c
+++ b/
common/cmd_nand.c
@@
-653,7
+653,7
@@
int do_nand(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
}
if (strcmp(cmd, "unlock") == 0) {
- if (arg_off_size(argc - 2, argv + 2,
nand
, &off, &size) < 0)
+ if (arg_off_size(argc - 2, argv + 2,
&dev
, &off, &size) < 0)
return 1;
if (!nand_unlock(&nand_info[dev], off, size)) {